project('Test_QT5', 'CPP',
  version : '0.1',
  default_options : ['warning_level=3','buildtype=debug','cpp_std=c++14'])
subproject('gtest')
qt5 = import('qt5')
qt5_dep = dependency('qt5', modules: ['Core', 'Gui','Widgets'])
boost_dep=dependency('boost')
inc = include_directories('includes')
moc_files = qt5.compile_moc(headers : 'ui_main.h',
                            extra_args: ['-DMAKES_MY_MOC_HEADER_COMPILE'],
                            include_directories: inc,
                            dependencies: qt5_dep)
exe = executable('test_qt5', 'test_qt5.cpp', 'fileB.cpp', dependencies : qt5_dep, install : true)

test('basic', exe)
